package com.spsoft.vatoutinv.service.vmsfulloutinvoice.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.spsoft.vatoutinv.entity.vmsfulloutinvoice.VmsFullOutInvoiceItemsExp;
import com.spsoft.vatoutinv.mapper.VmsFullOutInvoiceItemsExpMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spsoft.vatoutinv.service.vmsfulloutinvoice.VmsFullOutInvoiceItemsExpService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 展开非必填信息表 服务实现类
 * </p>
 *
 * @author chenxudong
 * @since 2023-11-30
 */
@Service
public class VmsFullOutInvoiceItemsExpServiceImpl extends ServiceImpl<VmsFullOutInvoiceItemsExpMapper, VmsFullOutInvoiceItemsExp> implements VmsFullOutInvoiceItemsExpService {

    @Override
    public VmsFullOutInvoiceItemsExp getInvoiceExpInfoByFoidid(Long foidId) {
        return getOne(new LambdaQueryWrapper<VmsFullOutInvoiceItemsExp>()
                .eq(VmsFullOutInvoiceItemsExp::getFoidid, foidId)
        );
    }
}
